package com.pig4cloud.pig.buyan.feign;

import com.pig4cloud.pig.common.core.constant.ServiceNameConstants;
import com.pig4cloud.pig.common.core.util.R;
import io.swagger.v3.oas.annotations.Operation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(contextId = "brandFeign",value = ServiceNameConstants.YU_SERVICE)
public interface BrandFeign {

	@Operation(summary = "通过id查询" , description = "通过id查询" )
	@GetMapping("/{brandId}" )
	R getById(@PathVariable("brandId" ) Long brandId);
}
